-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[add] DisallowBearerToken option to operator to disallow bearer = true #177
Conversation
change 2 out of 3 for nats-io/nats-server#3084 corresponds to nats-io/jwt#177 also fixed minor staticcheck issues Signed-off-by: Matthias Hanel <mh@synadia.com>
change 3 out of 3 for #3084 corresponds to: nats-io/jwt#177 nats-io/nsc#495 Signed-off-by: Matthias Hanel <mh@synadia.com>
change 2 out of 3 for nats-io/nats-server#3084 corresponds to nats-io/jwt#177 also fixed minor staticcheck issues Signed-off-by: Matthias Hanel <mh@synadia.com>
I modified an existing data structure that held a similar attribute already. Instead this data structure references the claim. change 3 out of 3. Fixes #3084 corresponds to: nats-io/jwt#177 nats-io/nsc#495 Signed-off-by: Matthias Hanel <mh@synadia.com>
@matthiashanel not quite sure why this option is at the operator level - would seem that the bearer token could be enabled as a server config option which disables the feature server-wide. The bigger question is shouldn't this be an account-level option - since accounts issue users, seems reasonable that this would be the config where they can bounce them all? Perhaps both features would be useful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - saved for the other comment.
Signed-off-by: Matthias Hanel <mh@synadia.com>
7544ab4
to
b7cabf8
Compare
LGTM! |
* [added] support for account option DisallowBearerToken change 2 out of 3 for nats-io/nats-server#3084 corresponds to nats-io/jwt#177 also fixed minor staticcheck issues also removed unused ha_assets Signed-off-by: Matthias Hanel <mh@synadia.com>
change 3 out of 3. Fixes #3084 corresponds to: nats-io/jwt#177 nats-io/nsc#495 Signed-off-by: Matthias Hanel <mh@synadia.com>
change 3 out of 3. Fixes #3084 corresponds to: nats-io/jwt#177 nats-io/nsc#495 Signed-off-by: Matthias Hanel <mh@synadia.com>
change 3 out of 3. Fixes #3084 corresponds to: nats-io/jwt#177 nats-io/nsc#495 Signed-off-by: Matthias Hanel <mh@synadia.com>
* [added] support for jwt account option DisallowBearer change 3 out of 3. Fixes #3084 corresponds to: nats-io/jwt#177 nats-io/nsc#495 update jwt library to 2.3.0 Signed-off-by: Matthias Hanel <mh@synadia.com>
change 1 out of 3 for nats-io/nats-server#3084